from rest_framework import serializers
from django.contrib.auth.models import Permission,ContentType,Group

class GroupSerialzier(serializers.ModelSerializer):
    """
        分组表序列化器
    """

    class Meta:
        # 指定生成序列化字段的模型类
        model = Group
        # 指定字段
        fields = "__all__"

